QuickTime 3 provides a set of header files for both MacOS and Windows programming. After you've downloaded the header files, you should place them in a location that can be accessed by your development environment. We recommend that you place the header files into the appropriate directory, either QTDevMac or QTDevWin.
Please keep these points in mind as you begin working with the new QuickTime 3 header files:
(1) the QuickTime 3 header files for the MacOS completely replace any existing QuickTime header files
provided by your development environment. Either you must (1) make sure that the compiler finds, the QuickTime 3 header files before it finds any existing header files, or (2) replace your existing header files by the new QuickTime 3 header files. The QuickTime 3 header files mus tbe used in conjunction with the header files released as Universal Interfaces 3.1 available at:
<http://developer.apple.com/sdk/index.html>.
You can accomplish option (1) by placing the QuickTime 3 header files in the file access path before any existing header files. This is the strategy used in the QuickTime 3 SDK sample code.
You can accomplish (2) by putting the QuickTime 3 header files and the rest of Unviersal Interfaces 3.1 header files into the location currently occupied by your existing header files.
(2) Note that a very few MacOS header files have been renamed (principally to avoid name space conflicts with Windows header files). For instance, the file Windows.h (containing Window Manager stuff) is now named MacWindows.h.
(3) You must either rebuild any precompiled headers you are using, or discontinue using those precompiled headers. Consult the CodeWarrior documentation (or the documentation for your development environment) for information on using precompiled headers. The sample code in the QuickTime 3 SDK does not rely on any precompiled headers.
(4) You should not need to rebuild any libraries, even if they depend on precompiled headers.
(5) If you install a new version of CodeWarrior and have previously replaced the CW headers with the QuickTime 3 revised headers, you will need to re-replace the CW headers with the QT headers. Similarly, you will need to rebuild any precompiled headers your project may be using.
The libraries provided with the QuickTime 3 SDK are platform-specific. You should link MacOS PowerPC applications and codecs using the library QuickTimeInterfacesLib. If you are using the QuickTime VR APIs, you should also link against the library QuickTimeVRLib. If you are using QuickDraw 3D, you should also link against the library QuickDraw3DLib.
You should link Windows applications and codecs using the qtmlclient.lib library. If you are using the QuickTime VR APIs, you should also link against the library QTVR.LIB. If you are using QuickDraw 3D, you should also link against the library qd3d.lib.